package com.joy.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 焦恩越
 * @create 2021-12-01-22:17
 */
@Data
public class OneSubject {
    //一级分类
    private String id;
    private String title;

    //一个一级分类里面有多个二级分类
    private List<TowSubject> children = new ArrayList<>();
}
